package com.bw.service;

import com.bw.entity.TbRule;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
@FeignClient("port-server")
public interface RuleService {
    //用户管理列表
    @GetMapping("rulelist")
    List<TbRule> rulelist(@RequestParam("mohu") String mohu);
    @PostMapping("tingyong")
    void tingyong(@RequestParam("aa") String aa);
    @PostMapping("qiyong")
    void qiyong(@RequestParam("aa") String aa);
}
